<!doctype HTML>
<html lang="en">

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>Heart Made</title>

		<!-- Load Fonts -->
		<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,400,300&subset=latin,vietnamese' rel='stylesheet' type='text/css'>
		<link href='http://fonts.googleapis.com/css?family=Roboto+Slab&subset=latin,vietnamese' rel='stylesheet' type='text/css'>

		<!-- Load Stylesheets -->
		<link rel="stylesheet" type="text/css" href="<?= template_url() ?>css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="<?= template_url() ?>css/fileinput.min.css" />
		<link rel="stylesheet" type="text/css" href="<?= template_url() ?>css/animate.css" />
		<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" >
		<link rel="stylesheet" type="text/css" href="<?= template_url() ?>css/YTPlayer.css" />
		<link rel="stylesheet" type="text/css" href="<?= template_url() ?>css/owl.carousel.css" />
		<link rel="stylesheet" type="text/css" href="<?= template_url() ?>css/owl.theme.css" />
		<link rel="stylesheet" type="text/css" href="<?= template_url() ?>css/owl.transitions.css" />
		<link rel="stylesheet" type="text/css" href="<?= template_url() ?>css/magnific-popup.css" />
		<link rel="stylesheet" type="text/css" href="<?= template_url() ?>plugin/select2/select2.css" />
		<link rel="stylesheet" type="text/css" href="<?= template_url() ?>plugin/select2/select2-bootstrap.css" />
		<link rel="stylesheet" type="text/css" href="<?= template_url() ?>css/main.css"/>

		<!-- Load Javascript -->
		<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&amp;language=en"></script>
		<script src="<?= template_url() ?>js/jquery.min.js" type="text/javascript"></script>
		<script src="<?= template_url() ?>js/jquery.queryloader2.min.js" type="text/javascript"></script>
		<script src="<?= template_url() ?>js/headscripts.js" type="text/javascript"></script>

		<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
		  <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
		  <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
		<![endif]-->
		
		<?php
			$module = $this->router->fetch_module();
			$controller = $this->router->fetch_class();
			$action = $this->router->fetch_method();
			$data['controller'] = $controller;
		?>
		<script type="text/javascript">
			var $base_url='<?= base_url(); ?>';
			var $template_url='<?= template_url() ?>';
			var $app={
				'module':'<?= $module ?>',
				'controller':'<?= $controller ?>',
				'action':'<?= $action ?>'
			};
		</script>
	</head>
	<body>
		<div class="prePreLoader"></div>
		
		<?php if(isset($mainSlider)) echo $mainSlider; ?>
		
		<?php $this->load->view('home/navigation',$data) ?>
		
		<?php if(isset($template)) $this->load->view($template) ?>

		<?php $this->load->view('home/footer') ?>

		<!-- Load Scripts -->
		<script src="http://cdnjs.cloudflare.com/ajax/libs/waypoints/2.0.3/waypoints.min.js"></script>
		<script src="<?= template_url() ?>js/jquery.validate.min.js" type="text/javascript"></script>
		<script src="<?= template_url() ?>js/bootstrap-wizard.min.js" type="text/javascript"></script>
		<script src="<?= template_url() ?>js/fileinput.min.js" type="text/javascript"></script>
		<script src="<?= template_url() ?>plugin/select2/select2.min.js" type="text/javascript"></script>
		<script src="<?= template_url() ?>js/holder.js" type="text/javascript"></script>
		<script src="<?= template_url() ?>js/jquery.plugins.js" type="text/javascript"></script>
		<script src="<?= template_url() ?>js/footscripts.js" type="text/javascript"></script>
	</body>

</html>